<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:wicket="http://wicket.apache.org" lang="en">
<wicket:head>
<script>
//初始化
var def="1";
function mover(object){
	if(object==1){
		return;
	}
  //主菜单
  var mm=document.getElementById("m_"+object);
  mm.className="m_li_a";
  //初始主菜单先隐藏效果
  if(def!=0){
    var mdef=document.getElementById("m_"+def);
    mdef.className="m_li";
  }
  //子菜单
  var ss=document.getElementById("s_"+object);
  ss.style.display="block";
  //初始子菜单先隐藏效果
  if(def!=0){
    var sdef=document.getElementById("s_"+def);
    sdef.style.display="none";
  }
}

function mout(object){
	if(object==1){
		return;
	}
	
  //主菜单
  var mm=document.getElementById("m_"+object);
  mm.className="m_li";
  //初始主菜单还原效果
  if(def!=0){
    var mdef=document.getElementById("m_"+def);
    mdef.className="m_li_a";
  }
  //子菜单
  var ss=document.getElementById("s_"+object);
  ss.style.display="none";
  //初始子菜单还原效果
  if(def!=0){
    var sdef=document.getElementById("s_"+def);
    sdef.style.display="block";
  }
}
</script>
</wicket:head>
<wicket:panel>
	<div id="menu">
	  <ul>
	    <li wicket:id="wk_li"><a wicket:id="wk_a"><span wicket:id="wk_span"></span></a></li>
	  </ul>
	</div>
	<div style="height:32px; background-color:#F1F1F1;">
	  <ul class="smenu">
	    <li wicket:id="wk_child_li" id="s_1" class='s_li_a' onmouseover='mover(1);' onmouseout='mout(1);'>
	    	<div class="row">
	    		<div class="span1" wicket:id="wk_child_loop">
	    			<a wicket:id="wk_child_a"><span wicket:id="wk_child_span"></span></a>
	    		</div>
	    	</div>
	    </li>
	  </ul>
	</div>
</wicket:panel>
</html>